package com.example.exam.exception;

import com.example.exam.enums.ResultEnum;

/**
 * @author shishuqian
 * date 2021/5/5
 * time 18:25
 **/
public class ExamPaperException extends RuntimeException{

    private static final long serialVersionUID = 8661298875176908660L;

    public ExamPaperException(ResultEnum resultEnum){
        super(resultEnum.getMsg());
    }

    public ExamPaperException(String error){
        super(error);
    }
}
